package com.mmt.www.mart.order;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;


@Repository(value = "OrderDao")
public class OrderDao {

	@Autowired
	SqlSession sqlSession;
	
	Logger log = Logger.getLogger(this.getClass());
	
	public List<OrderDto> orderList(String mart_code){
				
		log.debug("dao : " + mart_code);
		return sqlSession.selectList("order.orderList", mart_code);
	}
}
